<form id="pagerForm" action="jms/cu_build" onsubmit="return navTabSearch(this)" method="post">
    <input type="hidden" name="pageNum" value="${(pager.pageNumber)!}" />
    <input type="hidden" name="numPerPage" value="${(pager.pageSize)!}" />
</form>
<div class="pageHeader">

    <form id="searchForm" rel="pagerForm" onsubmit="return navTabSearch(this);" action="jms/cu_build" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        <label>铁塔名称：</label>
                        <input type="text" size="15" name="ctName" value="${(ctName)!}" />
                    </td>

                    <td>
                        <label>需求名称：</label>
                        <input type="text" size="15" name="name" value="${(name)!}" />
                    </td>

                    <td>
                        <label>区县：</label>
                        <select name="homeCounty">
                            <option value="">请选择</option>
                            <#list homeCountyList as s>
                                <option value="${(s.name)!}" <#if (homeCounty)?? && homeCounty==s.name>selected="selected"</#if>>${(s.name)!}</option>
                            </#list>
                        </select>
                    </td>

                </tr>
                <tr>
                    <td>
                        <label>谈点：</label>
                        <select name="isReach">
                            <option value="">请选择</option>
                            <option value="是" <#if (isReach)?? && isReach=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isReach)?? && isReach=='否'> selected="selected"</#if>>否</option>
                        </select>

                    </td>

                    <td>
                        <label>配套开工：</label>
                        <select name="isStart">
                            <option value="">请选择</option>
                            <option value="是" <#if (isStart)?? && isStart=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isStart)?? && isStart=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                    <td>
                        <label>配套完工：</label>
                        <select name="isComplete">
                            <option value="">请选择</option>
                            <option value="是" <#if (isComplete)?? && isComplete=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isComplete)?? && isComplete=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>


                    <td>
                        <label>更新时间：</label>
                        <input type="text" size="10" name="modifyDate" value="${(modifyDate)!}"  class="date" readonly="true"/>

                    </td>
                    <td>
                        <div class="button"><div class="buttonContent"><button type="submit">查询</button></div></div>
                    </td>
                </tr>
            </table>
        </div>

    </form>

</div>

<div class="pageContent" style="padding:0px">

    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="edit" href="jms/cu_build/add?id={sid_obj}" width="860" height="680" target="dialog" mask="true"><span>进度更新</span></a></li>

            <li class=""><a class="icon" href="jms/cu_build/export" target="dwzExport" targettype="navTab" title="确实要导出这些记录吗?"><span>导出建设进度</span></a></li>
        </ul>
    </div>

     <table class="table" layoutH="140">
         <thead>
         <tr>
             <th width="50" align="center"><input type="checkbox" group="ids" class="checkboxCtrl"/>行号</th>
             <th width="50" align="center">区县</th>
             <th width="160" >需求站名</th>
             <th width="160">铁塔站名</th>
             <th width="80" align="center">主覆盖类别</th>
             <th width="60" align="center">频段</th>
             <th width="80" align="center">规划建站性质</th>
             <th width="80" align="center">实际建站性质</th>
             <th width="80" align="center">实际杆塔类型</th>
             <th width="60" align="center">站点选点</th>
             <th width="100" align="center">存在问题</th>
             <th width="60" align="center">更新时间</th>
         </tr>
         </thead>
         <tbody>
         <#list pager.list as m>
             <tr target="sid_obj" rel="${(m.id)!}" ondblclick="migr.baseMoudleDblick(this)">
                 <td align="left"><input name="ids" type="checkbox" value="${(m.id)!}"/> ${m_index + 1}</td>
                 <td align="left">${(m.homeCounty)!}</td>
                 <td align="left">${(m.name)!}</td>
                 <td align="left">${(m.ctName)!}</td>
                 <td align="left">${(m.demandMemo)!} </td>
                 <td align="left">${(m.buildType)!} </td>
                 <td align="left"><#if (m.isConfirm)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left"><#if (m.isReach)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left">${(m.reachDate?string("MM-dd"))!} </td>
                 <td align="left"><#if (m.isProject)! == '是'> 是  <#else> 否 </#if> </td>

                 <td align="left">${(m.modifyMemo)!} </td>
                 <td align="left">${(m.modifyDate?string("MM-dd"))!} </td>
             </tr>
         </#list>
         </tbody>
     </table>

     <div class="panelBar">
         <div class="pages">
             <span>显示</span>
             <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                 <option value="20" <#if pager.pageSize == 20> selected</#if>>20</option>
                 <option value="50" <#if pager.pageSize == 50> selected</#if>>50</option>
                 <option value="100"<#if pager.pageSize == 100> selected</#if>>100</option>
                 <option value="200"<#if pager.pageSize == 200> selected</#if>>200</option>
             </select>
             <span>条，共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
         </div>
         <div class="pagination" targetType="navTab" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
     </div>


  </div>

